<form name="frm_Yachinsouba" id="frm_Yachinsouba" method="post" action="#">
{*<p class="searchTitle">{$PAR_NAME}<span>の家賃相場</span></p>*}<br />
<div class="lead">
	<p class="txt">家賃相場を間取りごとに表示しています。</p>
	<p class="txt">表中の数字（家賃相場）をクリックすると該当物件一覧を表示します。</p>
</div>
<!-- rentSelectBtnBlock -->
<div id="rentSelectBtnBlock">
	<div class="btnBlock">
		<ul>
			{if $type == 1}
				<li><img src="/images/search/common/btn_category_all_o.jpg" alt="全体" width="95" height="28"/></li>
			{else}
				<li><a href="javascript:DetailPage2({$SrhType},'{$KeyCd}','{$graphcode}','{$madori}','1')"><img src="/images/search/common/btn_category_all.jpg" alt="全体" width="95" height="28" class="rollImg"/></a></li>
			{/if}
			{if $type == 2}
				<li><img src="/images/search/common/btn_category_mansion_o.jpg" alt="賃貸マンション" width="122" height="28" /></li>
			{else}
				<li><a href="javascript:DetailPage2({$SrhType},'{$KeyCd}','{$graphcode}','{$madori}','2')"><img src="/images/search/common/btn_category_mansion.jpg" alt="賃貸マンション" width="122" height="28" class="rollImg" /></a></li>
			{/if}
			{if $type == 3}
				<li><img src="/images/search/common/btn_category_apart_o.jpg" alt="賃貸アパート" width="122" height="28" /></li>
			{else}
				<li><a href="javascript:DetailPage2({$SrhType},'{$KeyCd}','{$graphcode}','{$madori}','3')"><img src="/images/search/common/btn_category_apart.jpg" alt="賃貸アパート" width="122" height="28" class="rollImg" /></a></li>
			{/if}
			{if $type == 4}
				<li><img src="/images/search/common/btn_category_house_o.jpg" alt="借家・賃貸一戸建て" width="149" height="28" /></a></li>
			{else}
				<li><a href="javascript:DetailPage2({$SrhType},'{$KeyCd}','{$graphcode}','{$madori}','4')"><img src="/images/search/common/btn_category_house.jpg" alt="借家・賃貸一戸建て" width="149" height="28" class="rollImg" /></a></li>
			{/if}
		</ul>
	</div>
	<p class="unit">単位：万円</p>
</div>
<!-- /rentSelectBtnBlock -->
<!-- rentMarketTbl02 -->
<div id="rentMarketTbl02">
	<table cellspacing="0">
		<tr>
			<th class="first">&nbsp;</th>
			<th>1R</th>
			<th>1K/1DK</th>
			<th>1LDK</th>
			<th>2K/2DK</th>
			<th>2LDK</th>
			<th>3K/3DK</th>
			<th>3LDK</th>
			<th class="last">4K～</th>
		</tr>
		{foreach from=$yachinsouba.SOBA item=record name=info key=GraphCd}
		<tr>
			<th nowrap="nowrap" class="label">
				<p class="txt">{$record.NAME}</p>
				{if $yachinsouba.GRAPH == 1}
					{if $graphcode == $GraphCd}
						<p class="btn"><img src="/images/search/common/btn_disp_graph.jpg" alt="グラフ表示" width="62" height="23" /></a></p>
					{else}
						<p class="btn"><a href="javascript:DetailPage2({$SrhType},'{$KeyCd}','{$GraphCd}','{$madori}','{$type}')"><img src="/images/search/common/btn_disp_graph_o.jpg" alt="グラフ表示" width="62" height="23" class="rollImg"/></a></p>
					{/if}
				{/if}
			</th>
			<td>{if $record.1R == "0"   || $record.1R == ""   }-{else}<a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 1, {$type})">{$record.1R}</a>{/if}</td>
			<td>{if $record.1K == "0"   || $record.1K == ""   }-{else}<a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 2, {$type})">{$record.1K}</a>{/if}</td>
			<td>{if $record.1LDK == "0" || $record.1LDK == "" }-{else}<a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 3, {$type})">{$record.1LDK}</a>{/if}</td>
			<td>{if $record.2K == "0"   || $record.2K == ""   }-{else}<a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 4, {$type})">{$record.2K}</a>{/if}</td>
			<td>{if $record.2LDK == "0" || $record.2LDK == "" }-{else}<a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 5, {$type})">{$record.2LDK}</a>{/if}</td>
			<td>{if $record.3K == "0"   || $record.3K == ""   }-{else}<a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 6, {$type})">{$record.3K}</a>{/if}</td>
			<td>{if $record.3LDK == "0" || $record.3LDK == "" }-{else}<a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 7, {$type})">{$record.3LDK}</a>{/if}</td>
			<td>{if $record.4K == "0"   || $record.4K == ""   }-{else}<a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 8, {$type})">{$record.4K}</a>{/if}</td>
		</tr>
		{/foreach}
	</table>
	<ul id="areaRelaLink">
		<li><a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 0, {$type})">{$PAR_NAME}の物件を{if $SrhType==1}住所{else}駅{/if}から探す</a></li>
		<!--<li class="last"><a href="#">{$PAR_NAME}の物件を地図から探す</a></li>-->
	</ul>
</div>
<!-- /rentMarketTbl02 -->

{if $yachinsouba.GRAPH == 1}
<div id="rentGraph">
	<h3>相場変動グラフ&nbsp;-&nbsp;{if $graphcode == 1}賃料{/if}{if $graphcode == 2}坪賃料{/if}{if $graphcode == 3}敷金{/if}{if $graphcode == 4}礼金{/if}</h3>
	<div class="innerBlock">
		<div id="graph"><img src="http://chart.apis.google.com/chart?cht=lc
&amp;chs=660x330
&amp;chg=9.1,{$yachinsouba.GRAPH_DATA.graph_range_y},1,5
&amp;chxt=x,y
&amp;chxl=0:{foreach from=$yachinsouba.GRAPH_DATA.graph item=record name= info}|{$record.MONTH}{/foreach}|1:|{$yachinsouba.GRAPH_DATA.label_y}
&amp;chd=t:{$yachinsouba.GRAPH_DATA.graph_y}
&amp;chm=s,FF9904,0,-1,6" /></div>
		<ul>
			{if $madori == 1}
				<li><img src="/images/search/common/btn_graphchg_01_o.jpg" alt="1R/1K/1DK" width="144" height="29" /></li>
			{else}
				<li><a href="javascript:DetailPage2({$SrhType},'{$KeyCd}','{$graphcode}','1','{$type}')"><img src="/images/search/common/btn_graphchg_01.jpg" alt="1R/1K/1DK" width="144" height="29" class="rollImg"/></a></li>
			{/if}
			{if $madori == 2}
				<li><img src="/images/search/common/btn_graphchg_02_o.jpg" alt="1LDK/2K/2DK" width="146" height="29" /></a></li>
			{else}
				<li><a href="javascript:DetailPage2({$SrhType},'{$KeyCd}','{$graphcode}','2','{$type}')"><img src="/images/search/common/btn_graphchg_02.jpg" alt="1LDK/2K/2DK" width="146" height="29" class="rollImg" /></a></li>
			{/if}
			{if $madori == 3}
				<li><img src="/images/search/common/btn_graphchg_03_o.jpg" alt="2LDK/3K/3DK" width="146" height="29" /></li>
			{else}
				<li><a href="javascript:DetailPage2({$SrhType},'{$KeyCd}','{$graphcode}','3','{$type}')"><img src="/images/search/common/btn_graphchg_03.jpg" alt="2LDK/3K/3DK" width="146" height="29" class="rollImg" /></a></li>
			{/if}
			{if $madori == 4}
				<li class="last"><img src="/images/search/common/btn_graphchg_04_o.jpg" alt="3LDK/4K/4DK" width="146" height="29" /></a></li>
			{else}
				<li class="last"><a href="javascript:DetailPage2({$SrhType},'{$KeyCd}','{$graphcode}','4','{$type}')"><img src="/images/search/common/btn_graphchg_04.jpg" alt="3LDK/4K/4DK" width="146" height="29" class="rollImg" /></a></li>
			{/if}
		</ul>
	</div>
</div>
{/if}
{$hiddenTag}
</form>